<?php 
	require('../core/config.php');
	require('../core/function.php');
mysql_select_db(DB_NAME) or die(mysql_error());

$query="select * from news";
$result=mysql_query($query) or die(mysql_error());
echo $result;



?>